import React, { useEffect } from 'react'
import instance from '@utils/local';
import { Movie } from '@/api/types';

export default function ErZhuan() {
  //发送请求
  useEffect(() => {
    let getLoL = async () => {
      //发送请求
      let result = await instance.get<any, Movie>('/api/movie');
      console.log(result.id);
    }

    getLoL();
  }, [])
  return (
    <div>06_ErZhuan</div>
  )
}
